#include "QtApi.h"

#include <QLabel>
#include <QLineEdit>
#include <QComboBox>
#include <QHBoxLayout>
using namespace QtApi;

VISION_EXPORT QLineEdit* QtApi::createLineEditComb(QString labText, QString suffixText, QHBoxLayout* hLayout)
{
	hLyt = new QHBoxLayout();
	QLabel* label = new QLabel(lab);
	QLineEdit* lineEdit = new QLineEdit();
	hLyt->addWidget(label);
	hLyt->addWidget(lineEdit);
	if (!lab2.isEmpty())
	{
		QLabel* label2 = new QLabel(lab2);
		hLyt->addWidget(label2);
	}
	return lineEdit;
}

VISION_EXPORT QComboBox* QtApi::createlabComboxComb(QString labText, QStringList items, QHBoxLayout* hLayout)
{
	return nullptr;
}
